runtime.cleanupBlock.cleanups (field)
10 uses
runtime (current package)
mcleanup.go#L292: cleanups [(cleanupBlockSize - unsafe.Sizeof(cleanupBlockHeader{})) / unsafe.Sizeof(cleanupFn{})]cleanupFn
mcleanup.go#L332: b.cleanups[b.n] = c
mcleanup.go#L339: return b.n == uint32(len(b.cleanups))
mcleanup.go#L349: dst := a.cleanups[a.n:]
mcleanup.go#L352: copy(dst, b.cleanups[:])
mcleanup.go#L358: copy(dst, b.cleanups[b.n-uint32(len(dst)):b.n])
mcleanup.go#L359: a.n = uint32(len(a.cleanups))
mcleanup.go#L727: c := b.cleanups[i]
mcleanup.go#L728: b.cleanups[i] = cleanupFn{}
mgcmark.go#L254: scanblock(uintptr(unsafe.Pointer(&cb.cleanups[0])), n*unsafe.Sizeof(cleanupFn{}), &cleanupBlockPtrMask[0], gcw, nil)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |